package com.Stash.Service;

import com.Stash.Domain.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdminService {

    List<Classification> classificationLimit(Page page);
    void classificationAdd(Classification classification);
    Classification classificationSelectName(Classification classification);
    void  classificationUpdateName(Classification classification);
    List<Stash> StashSelectAll();
    void StashAdd(Stash stash);
    void stashUpdateInformation(Stash stash);
    Stash StashSelectAId(Stash stash);
    List<admins> AdminSelectAll();
    List<admins> AdminSelectLimit(Page page);
    void AdminUpdate(admins admins);
    admins AdminSelect(admins admins);
    void AdminAdd(admins admins);
    admins AdminSelectPhone(admins admins);
    admins AdminSelectP(admins admins);
    void DeleteClass(@Param("classificationId") Integer classificationId);
    List<ProductClass> SelectClassificationProductAll(@Param("classificationId") Integer classificationId);
}
